<form id="edit-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">

    <div class="form-group">
        <label for="c-name" class="control-label col-xs-12 col-sm-2">{:__('Name')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-name" class="form-control" name="row[name]" type="text" value="{$row.name|htmlentities}" data-rule="required">
        </div>
    </div>

    <div class="form-group">
        <label for="c-code" class="control-label col-xs-12 col-sm-2">{:__('代码')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-code" class="form-control" name="row[code]" type="text" value="{$row.code|htmlentities}" data-rule="required">
        </div>
    </div>

    <div class="form-group">
        <label for="c-international_code" class="control-label col-xs-12 col-sm-2">{:__('国际代码')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-international_code" class="form-control" name="row[international_code]" type="text" value="{$row.international_code|htmlentities}" data-rule="required">
        </div>
    </div>

    <div class="form-group">
        <label for="c-direction" class="control-label col-xs-12 col-sm-2">{:__('方向')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-direction" class="form-control" name="row[direction]" type="text" value="{$row.direction|htmlentities}">
        </div>
    </div>

    <div class="form-group">
        <label for="c-level" class="control-label col-xs-12 col-sm-2">{:__('培养层次')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-level" class="form-control" name="row[level]" type="text" value="{$row.level|htmlentities}">
        </div>
    </div>

    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-success btn-embossed disabled">{:__('Save')}</button>
            <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
        </div>
    </div>
</form>
